function isHasAuthority(code){
	var pass = true;
	if(code){
		$.ajax({
			url : AGENCYWEB_PATH + "menuredirect/isHasAuthority",
			data : {code: code},
			type : "post",
			cache : false,
			async : false,
			dataType : "json",
			error : function(xhr, status, err) {
				alert("系统繁忙，请稍后操作");
			},
			success : function(data) {
				pass = data;
			}
		});
	}
	return pass;
}